package com.socialsoftware.model;

import java.util.List;

public class Moment {
    private long id;
    private User user;
    private String content;
    private List<String> images;
    private long timestamp;
    private String location;
    private int likeCount;
    private int commentCount;
    private List<User> likedUsers;
    private List<Comment> comments;
    private boolean likedByMe;

    public Moment(long id, User user, String content, List<String> images, long timestamp,
                  String location, int likeCount, int commentCount, List<User> likedUsers,
                  List<Comment> comments, boolean likedByMe) {
        this.id = id;
        this.user = user;
        this.content = content;
        this.images = images;
        this.timestamp = timestamp;
        this.location = location;
        this.likeCount = likeCount;
        this.commentCount = commentCount;
        this.likedUsers = likedUsers;
        this.comments = comments;
        this.likedByMe = likedByMe;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public List<String> getImages() {
        return images;
    }

    public void setImages(List<String> images) {
        this.images = images;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public List<User> getLikedUsers() {
        return likedUsers;
    }

    public void setLikedUsers(List<User> likedUsers) {
        this.likedUsers = likedUsers;
    }

    public List<Comment> getComments() {
        return comments;
    }

    public void setComments(List<Comment> comments) {
        this.comments = comments;
    }

    public boolean isLikedByMe() {
        return likedByMe;
    }

    public void setLikedByMe(boolean likedByMe) {
        this.likedByMe = likedByMe;
    }
} 